package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2024-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("application_record")
@ApiModel(value="ApplicationRecord对象", description="")
public class ApplicationRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "类型")
    @TableField("city_id")
    private Integer cityId;

    @ApiModelProperty(value = "类型")
    @TableField("type_id")
    private Integer typeId;

    @ApiModelProperty(value = "资金类型")
    @TableField("price_type_id")
    private Integer priceTypeId;

    @ApiModelProperty(value = "编号")
    private Integer number;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "摘要")
    private String excerpt;

    @ApiModelProperty(value = "申请来源")
    private String sources;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @TableField("create_by")
    private String createBy;

    @TableField("creation_time")
    private Date creationTime;


}
